var mongoose = require("./db.js")

var Schema = mongoose.Schema;

var ShopCarListSchema = new Schema({
    //在他刚进小程序是就获取他的userInfo点击同意,返回openId
    //商品图片
    falg:{type:Boolean},
   // 商品详情
    orderFormDetails:{type:Object},
    //订单号
    orderNumber:{type:Number},
    //订单状态
    orderStatus:{type:String},
    //下单时间
    orderTime:{type:Number},
    //购物用户
    orderUser:{type:String}
    // commodityImg:{type:String},
    // //商品标题
    // commodityTitle:{type:String},
    // //商品价格
    // commodityPrice:{type:Number},
    // //商品数量
    // commodityNum:{type:Number},
    // //商品尺码
    // commoditySize:{type:String},
    // //商品颜色
    // commodityColor:{type:String},
    //用户Id
})
var ShopCarList = mongoose.model("ShopCarList",ShopCarListSchema,"ShopCarList")
module.exports = ShopCarList
